package hhh.app.presenter.di.component;

import dagger.Component;
import hhh.app.presenter.di.PerActivity;
import hhh.app.presenter.di.module.ProductModule;
import hhh.app.presenter.model.cart.CartActivity;
import hhh.app.presenter.model.productdetail.ProductDetailActivity;
import hhh.app.presenter.model.productlist.ProductListFragment;

/**
 * Created by hhh on 2016/12/13.
 */
@PerActivity
@Component(dependencies = AppComponent.class,modules = {ProductModule.class})
public interface ProductComponent{
//    void inject(ProductListActivity productListActivity);
    void inject(ProductListFragment productListFragment);
//    void inject(ProductDetailFragment productDetailFragment);
    void inject(ProductDetailActivity productDetailActivity);

    void inject(CartActivity cartActivity);
}
